﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using EvidenceLib.Base;
using EvidenceLib.System;

namespace EvidenceLib.Case
{
    /// <summary>
    /// 单据抽象类
    /// </summary>
    public abstract class Bill:IBill
    {
        public virtual BillTypeEnum BillType { get; set; }

        public virtual string Number { get; set; }

        public virtual string Name { get; set; }

        /// <summary>
        /// 序列号
        /// </summary>
        public virtual string SerialNo { get; set; }
        /// <summary>
        /// 案件类型
        /// </summary>
        public virtual CaseCategory Category { get; set; }

        public virtual DateTime BillTime{get;set;}

        public virtual System.Organization Department { get; set; }

        public virtual System.User Preparer { get; set; }

        public virtual int Id { get; set; }

        public virtual string Description { get; set; }

        /// <summary>
        /// 审核部门
        /// </summary>
        public virtual Organization CheckDept { get; set; }
        /// <summary>
        /// 审核人
        /// </summary>
        public virtual User Checker { get; set; }
        /// <summary>
        /// 审核时间
        /// </summary>
        public virtual DateTime? CheckTime { get; set; }
        /// <summary>
        /// 审核状态
        /// </summary>
        public virtual bool IsCheck { get; set; }
    }
}
